package com.paiai.lslease.dao.landlordauth;

import com.paiai.lslease.auto.model.AppSysUser;
import com.paiai.lslease.model.AppAuthedManager;
import com.paiai.lslease.model.AppLandlordAuthHouseInfo;

import java.sql.SQLException;
import java.util.List;

public interface AppLandlordAuthExternalDAO {

    /**
     * 查询房东授权的房源列表
     */
    List<AppLandlordAuthHouseInfo> selectAuthedHouseInfoListByLandlordId(int landlordId) throws Exception;

    /**
     * 查询房东授权的所有管理员
     */
    List<AppSysUser> selectAllAuthedManager(int landlordId) throws Exception;

    /**
     * 查询授权管理员管理的所有房源列表
     */
    List<AppLandlordAuthHouseInfo> selectAuthedHouseInfoListByUserMobile(String userMobile) throws Exception;
}
